﻿
using Chain.BLL;
using System;
using System.Data;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;


public partial class Mobile_New_Index :Page
{
    private Goods GoodsBll = new Goods();
    //private GoodsClass GoodsClassBll = new GoodsClass();

    protected void Page_Load(object sender, EventArgs e)
    {
        //DataTable dt = this.GoodsClassBll.GetList(" ParentID=0").Tables[0];
        //this.rpGoodsClass.DataSource = dt;
        //this.rpGoodsClass.DataBind();
        DataTable dt2 = this.GoodsBll.GetOKGoods("").Tables[0];
        this.rptGoodList.DataSource = dt2;
        this.rptGoodList.DataBind();
        if (dt2.Rows.Count == 0)
        {
            this.msg.Style.Add("display", "");
        }
    }
}